package net.pws.common.security;

import net.pws.common.security.ehcache.DefaultPrincipalManager;
import net.pws.common.security.spi.PrincipalManager;

public class PrincipalManagerFactory {
    
    private static PrincipalManager _instance = new DefaultPrincipalManager();
    
    public static void setPrincipalManager(PrincipalManager instance) {
        _instance = instance;
    }
    
    public static PrincipalManager getInstance() {
        return _instance;
    }
}
